/*
 * 	Flan.Zeng 2011-2016	http://git.oschina.net/signup?inviter=flan
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.flan.stock.bean;

import java.io.Serializable;

/**
 * 股票实时数据实体类
 * @author flan
 * @date   2015年11月18日
 */
public class Stock implements Serializable{
	
	private static final long serialVersionUID = -5521550206764531125L;
	private long id;
	private String code;			//股票编号
	private String name;			//股票名称
	
	private float openPrice;		//开盘价
	private float closePrice;		//收盘价
	
	private float nowPrice;			//当前价
	private float lPrice;			//最低价
	private float hPrice;			//最高价
	
	private float competitivePri;	//竞买价
	private float reservePri;		//竞卖价
	
	private long traVolume;			//成交量
	private long traAmount;			//成交金额
	
	private int buyOne; 			//买一
	private float buyOnePrice; 		//买一报价
	private int buyTwo;
	private float buyTwoPrice;
	private int buyThree;
	private float buyThreePrice;
	private int buyFour;
	private float buyFourPrice;
	private int buyFive;
	private float buyFivePrice;
	private int sellOne;			//卖一
	private float sellOnePrice;		//卖一报价
	private int sellTwo;
	private float sellTwoPrice;
	private int sellThree;
	private float sellThreePrice; 
	private int sellFour;
	private float sellFourPrice; 
	private int sellFive;
	private float sellFivePrice;
	
	private String date;
	private String time;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getOpenPrice() {
		return openPrice;
	}
	public void setOpenPrice(float openPrice) {
		this.openPrice = openPrice;
	}
	public float getClosePrice() {
		return closePrice;
	}
	public void setClosePrice(float closePrice) {
		this.closePrice = closePrice;
	}
	public float getNowPrice() {
		return nowPrice;
	}
	public void setNowPrice(float nowPrice) {
		this.nowPrice = nowPrice;
	}
	public float getlPrice() {
		return lPrice;
	}
	public void setlPrice(float lPrice) {
		this.lPrice = lPrice;
	}
	public float gethPrice() {
		return hPrice;
	}
	public void sethPrice(float hPrice) {
		this.hPrice = hPrice;
	}
	public float getCompetitivePri() {
		return competitivePri;
	}
	public void setCompetitivePri(float competitivePri) {
		this.competitivePri = competitivePri;
	}
	public float getReservePri() {
		return reservePri;
	}
	public void setReservePri(float reservePri) {
		this.reservePri = reservePri;
	}
	public long getTraVolume() {
		return traVolume;
	}
	public void setTraVolume(long traVolume) {
		this.traVolume = traVolume;
	}
	public long getTraAmount() {
		return traAmount;
	}
	public void setTraAmount(long traAmount) {
		this.traAmount = traAmount;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public int getBuyOne() {
		return buyOne;
	}
	public void setBuyOne(int buyOne) {
		this.buyOne = buyOne;
	}
	public float getBuyOnePrice() {
		return buyOnePrice;
	}
	public void setBuyOnePrice(float buyOnePrice) {
		this.buyOnePrice = buyOnePrice;
	}
	public int getBuyTwo() {
		return buyTwo;
	}
	public void setBuyTwo(int buyTwo) {
		this.buyTwo = buyTwo;
	}
	public float getBuyTwoPrice() {
		return buyTwoPrice;
	}
	public void setBuyTwoPrice(float buyTwoPrice) {
		this.buyTwoPrice = buyTwoPrice;
	}
	public int getBuyThree() {
		return buyThree;
	}
	public void setBuyThree(int buyThree) {
		this.buyThree = buyThree;
	}
	public float getBuyThreePrice() {
		return buyThreePrice;
	}
	public void setBuyThreePrice(float buyThreePrice) {
		this.buyThreePrice = buyThreePrice;
	}
	public int getBuyFour() {
		return buyFour;
	}
	public void setBuyFour(int buyFour) {
		this.buyFour = buyFour;
	}
	public float getBuyFourPrice() {
		return buyFourPrice;
	}
	public void setBuyFourPrice(float buyFourPrice) {
		this.buyFourPrice = buyFourPrice;
	}
	public int getBuyFive() {
		return buyFive;
	}
	public void setBuyFive(int buyFive) {
		this.buyFive = buyFive;
	}
	public float getBuyFivePrice() {
		return buyFivePrice;
	}
	public void setBuyFivePrice(float buyFivePrice) {
		this.buyFivePrice = buyFivePrice;
	}
	public int getSellOne() {
		return sellOne;
	}
	public void setSellOne(int sellOne) {
		this.sellOne = sellOne;
	}
	public float getSellOnePrice() {
		return sellOnePrice;
	}
	public void setSellOnePrice(float sellOnePrice) {
		this.sellOnePrice = sellOnePrice;
	}
	public int getSellTwo() {
		return sellTwo;
	}
	public void setSellTwo(int sellTwo) {
		this.sellTwo = sellTwo;
	}
	public float getSellTwoPrice() {
		return sellTwoPrice;
	}
	public void setSellTwoPrice(float sellTwoPrice) {
		this.sellTwoPrice = sellTwoPrice;
	}
	public int getSellThree() {
		return sellThree;
	}
	public void setSellThree(int sellThree) {
		this.sellThree = sellThree;
	}
	public float getSellThreePrice() {
		return sellThreePrice;
	}
	public void setSellThreePrice(float sellThreePrice) {
		this.sellThreePrice = sellThreePrice;
	}
	public int getSellFour() {
		return sellFour;
	}
	public void setSellFour(int sellFour) {
		this.sellFour = sellFour;
	}
	public float getSellFourPrice() {
		return sellFourPrice;
	}
	public void setSellFourPrice(float sellFourPrice) {
		this.sellFourPrice = sellFourPrice;
	}
	public int getSellFive() {
		return sellFive;
	}
	public void setSellFive(int sellFive) {
		this.sellFive = sellFive;
	}
	public float getSellFivePrice() {
		return sellFivePrice;
	}
	public void setSellFivePrice(float sellFivePrice) {
		this.sellFivePrice = sellFivePrice;
	}
	
}
